/*
 * Copyright (c) 2006-2025, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-10-13     RT-Thread    first version
 */

#include <rtthread.h>

#define DBG_TAG "main"
#define DBG_LVL DBG_LOG
#include <rtdbg.h>


extern int led_blink_init(void);
extern int aht20_sample_init(void);
extern int ds3231_sample_init(void);
extern int app_can1_init(void);
extern int app_can2_init(void);


int main(void)
{
    LOG_D("Hello RT-Thread!");

    led_blink_init();

    aht20_sample_init();

    ds3231_sample_init();

    app_can1_init();

    app_can2_init();

    while (1)
    {
        rt_thread_mdelay(1000);
    }

    return RT_EOK;
}
